package com.ruoyi.classai.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 资源详情信息对象 ewc_resource_details
 *
 * @author lcj
 * @date 2025-03-16
 */
@Data
@TableName("ewc_resource_details")
@Schema(description="资源详情信息对象ewc_resource_details")
public class EwcResourceDetails implements Serializable{

private static final long serialVersionUID = 1L;


    /** $column.columnComment */
    @Schema(description  = "$column.columnComment")
    private String id;

    /** 资源id */
    @Excel(name = "资源id")
    @Schema(description  = "资源id")
    private String resourceId;

    /** 资源地址 */
    @Excel(name = "资源地址")
    @Schema(description  = "资源地址")
    private String resourceUrl;

    /** 资源名称 */
    @Excel(name = "资源名称")
    @Schema(description  = "资源名称")
    private String resourceName;

    /** 资源详情 */
    @Excel(name = "资源详情")
    @Schema(description  = "资源详情")
    private String resourceDetails;
    /** 创建时间 */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建时间")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新时间")
    private Date updateTime;


    /** 文件后缀 */
    @Excel(name = "文件后缀")
    @Schema(description  = "文件后缀")
    private String fileDetails;

    /**
     * 文件类型
     */
    @Excel(name = "文件类型")
    @Schema(description = "文件类型:0图片，1视频，2音频")
    private Integer fileType;

}
